#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	 char expr[64];          
    uint32_t value;  
	bool enabled;
	/* TODO: Add more members if necessary */


} WP;
void init_wp_pool();
WP* new_wp(char *expr);
void free_wp(int NO);
void print_wp();
bool check_wp();


#endif